<template>
	<view class="shopCellBox">
		<view class="shopCell_img">
			<u-image width="100%" height="100%" fade mode="aspectFill" :src="img"></u-image>
		</view>
		<view class="shopCell_message">
			<view class="shopCell_message_title">{{ title }}</view>
			<view class="shopCell_message_interest">
				{{ interest }} 感兴趣
			</view>
			<view class="shopCell_message_memo">
				<view class="shopCell_message_memo_price">¥ {{ price }}</view>
				<view class="shopCell_message_memo_num">{{ num }}人已付款</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"shopCell",
		props: {
			img: {
				type: String,
				default: 'http://caf-evos-sys.oss-cn-hangzhou.aliyuncs.com/cmxcmp/1676959902521.png'
			},
			title: {
				type: String,
				default: '春装2022年新款法式港味复古chic惊艳红色.....吊......'
			},
			price: {
				type: String,
				default: '120.99'
			},
			num: {
				type: String | Number,
				default: 10
			},
			interest: {
				type: String | Number,
				default: 973
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.shopCellBox {
	width: 702rpx;
	height: 250rpx;
	background: #fff;
	display: flex;
	// align-items: center;
	padding: 20rpx;
	margin-bottom: 20rpx;
	.shopCell_img {
		width: 200rpx;
		height: 200rpx;
		border-radius: 10rpx 10rpx 10rpx 10rpx;
		border: 1rpx solid #707070;
		flex-shrink: 0;
	}
	.shopCell_message {
		width: 0;
		flex: 1;
		padding: 0 20rpx;
		.shopCell_message_title {
			font-family: Source Han Sans CN, Source Han Sans CN;
			font-weight: 500;
			font-size: 28rpx;
			color: #333333;
			display: -webkit-box;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
			// padding-top: 10rpx;
		}
		.shopCell_message_interest {
			font-family: Source Han Sans CN, Source Han Sans CN;
			font-weight: 400;
			font-size: 24rpx;
			color: #666666;
			padding-top: 20rpx;
			padding-bottom: 35rpx;
		}
		.shopCell_message_memo {
			width: 100%;
			display: flex;
			align-items: baseline;
			padding: 0 0rpx 0;
			.shopCell_message_memo_price {
				font-family: Source Han Sans CN, Source Han Sans CN;
				font-weight: 500;
				font-size: 24rpx;
				color: #F56629;
				margin-right: 20rpx;
			}
			.shopCell_message_memo_num {
				font-family: Source Han Sans CN, Source Han Sans CN;
				font-weight: 400;
				font-size: 24rpx;
				color: #999999;
			}
		}
	}
}
</style>